package com.yzt.zhuju.event.main;

import com.yzt.zhuju.event.BaseBusEvent;
import com.yzt.zhuju.utils.RechargeUtil;

/**
 * author : bob
 * date   : 2022/11/30
 * desc   :余额不足
 */
public class UmoneyNotEnoughEvent extends BaseBusEvent {

    private int type;

    private boolean newUserUbiRecharge;//新用户uib不足充值

    private String content;

    private boolean isHangUp;

    public UmoneyNotEnoughEvent(int type, boolean isHangUp) {
        this.type = type;
        this.isHangUp = isHangUp;
    }

    public UmoneyNotEnoughEvent(int type) {
        this.type = type;
    }

    public UmoneyNotEnoughEvent() {
        this.type = RechargeUtil.KEY_RECHARGE_DAMION;
        this.newUserUbiRecharge = false;
    }

    public UmoneyNotEnoughEvent(String content) {
        this.type = RechargeUtil.KEY_RECHARGE_DAMION;
        this.newUserUbiRecharge = true;
        this.content = content;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public boolean isHangUp() {
        return isHangUp;
    }
}
